package cn.fintecher.pangolin.service.dataimp.elastic;

import cn.fintecher.pangolin.entity.elastic.PaymentRecord;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 * @Auther: xiaqun
 * @Description:
 * @Date: 14:26 2019/10/8
 */
public interface PaymentRecordElastic extends ElasticsearchRepository<PaymentRecord, String> {
    /**
     * 查询特定的还款记录
     */
    List<PaymentRecord> findAllByCaseIdAndFlag(String caseId, Integer flag);
}
